<div id="J_Category" class="category">
    <div class="navcatgory">
        <ul>
      	  	<{foreach item=cList key=num from=$cat}>
                <li class="j_MenuItem<{if ($num+1)%2==0}> col<{/if}>">
                	<p>
                        <em><{$cList.cat|truncate:8:""}></em>
                        <{foreach item=sublist key=n from=$cList.scat}>
                            <{if $n<2}>
                                <a href="<{$config.weburl}>/?m=product&s=list&id=<{$sublist.catid}>"><{$sublist.cat|truncate:8:""}></a>
                            <{/if}>
                        <{/foreach}>
                    </p>
                </li>
            <{/foreach}>
        </ul>
    </div>
    <div id="J_SubCategory" class="subCategory">
        <{foreach item=cList key=num from=$cat}>
        <div class="j_SubView hidden">
            <div class="catlist">  
                <{foreach item=sublist key=n from=$cList.scat}>
                <dl class="fore<{$n+1}>">
                    <dt><a href="<{$config.weburl}>/?m=product&s=list&id=<{$sublist.catid}>"><{$sublist.cat}></a></dt>
                    <dd>
                    <{foreach item=slist from=$sublist.scat}>
                    <em><a href="<{$config.weburl}>/?m=product&s=list&id=<{$slist.catid}>"><{$slist.cat}></a></em>
                    <{/foreach}>
                    </dd>
                </dl>
                <{/foreach}>
            </div>
            <div class="barnd">
                <h4>推荐品牌</h4>
                <ul>
				<{foreach item=slist key=key from=$cList.brand}>
                	<li <{if ($key+1)%2==0 }>class="fr"<{/if}> ><img width="90" height="40" src="<{$slist.logo}>"></li>
                <{/foreach}>
				</ul>
            </div>
        </div>
        <{/foreach}>
    </div>   
</div>
